<template>
    <div class="main main_bg" :style="$store.state.isApp?'paddingTop:0':'paddingTop:1.2rem'">
      <gltitle :titleSize="titleSize" :is_mt="is_mt" v-if="!$store.state.isApp" ></gltitle>


      <div class="doc_box">
        <div class="container">
          <div class="cont" v-html="datainfo">
          </div>
          <button class="btn" @click="$router.go(-1)">{{$t('agent.agree')}}</button>
        </div>
      </div>
    </div>
</template>
<script>


  export default {
  data(){
    return {
      it:0,
      if_check:false,
      titleSize:this.$t('title.user_greement'),
      is_mt:true,
      datainfo:''
      // titleRight: "<img src=" + require("../../public/images/ico_10_10.png") + ">"


    }
  },

    created() {
      // if('jp' == this.$i18n.locale){
      //   this.$router.replace('/user/doc_jp');
      // }
    },
    mounted() {
    this.$post(this.URL.member.article_detail,{
            categoryType:'REGISTRATION_AGREEMENT'
          }).then((res) => {
            if (res.code == 0) {
              this.titleSize = res.data.title
              this.datainfo = res.data.description;
              document.title = res.data.title
            }
          });

    },
    methods: {
      preserve(){

      }

    },


}

</script>


<style lang="less" scoped>
  #app {
    .doc_box {
      padding: .2rem 0 .3rem 0;
      color: #666;
      font-size: .3rem;
      line-height: 2;
      .c-000 {
        color: #000;
        font-weight: bold;
        font-size: .32rem;
      }
    }
    .btn {
      margin-top: .4rem;
    }


  }
</style>
